import "./WelcomePage.scss";
import { Button, Icon } from "antd";
import React from "react";
import { Link } from "react-router-dom";
import { ReactComponentPage } from "../../class/ReactComponentPage";
import { remote } from "electron";

export namespace WelcomePage {

}

export class WelcomePage extends ReactComponentPage {
    public render() {
        return (
            <div className={this.getClsName("welcome-page-component")}>
                <div className="title">welcome to <span className="no-br">Akaba Manga</span></div>
                <div className="row">
                    <Button size="large">
                        <Link to="/read/books" title="阅读">
                            <Icon type="book" />
                            <span>阅读</span>
                        </Link>
                    </Button>
                    <Button size="large">
                        <Link to="/operate/books" title="操作">
                            <Icon type="edit" />
                            <span>操作</span>
                        </Link>
                    </Button>
                </div>
            </div>
        );
    }
}
